import Layout from '@/layout'

export default {
  path: '/employees',
  component: Layout,
  children: [
    {
      path: '',
      component: () => import ('@/views/employees'),
      meta: { title: '员工', icon: 'people' }
    },
    {
      path: 'import',
      component: () => import ('@/views/employees/import.vue'),
      meta: { title: '导入' },
      hidden: true
    },
    {
      path: 'detail/:id',
      component: () => import ('@/views/employees/detail.vue'),
      meta: { title: '详情页' },
      hidden: true
    },
    {
      path: 'print/:id',
      component: () => import ('@/views/employees/components/print.vue'),
      meta: { title: '打印页' },
      hidden: true
    }
  ]

}
